package com.px.mbg.model;

import java.math.BigDecimal;
import com.px.mbg.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 委外退料单明细表
 * </p>
 *
 * @author 品讯科技
 * @since 2022-08-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="SendReturnMaterialDetail对象", description="委外退料单明细表")
public class SendReturnMaterialDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "委外退料单ID")
    private Long sendReturnId;

    @ApiModelProperty(value = "行ID")
    private Long lineId;

    @ApiModelProperty(value = "行号")
    private String lineNo;

    @ApiModelProperty(value = "委外加工单")
    private String outSourceNo;

    @ApiModelProperty(value = "料号")
    private String materialCode;

    @ApiModelProperty(value = "品名")
    private String materialName;

    @ApiModelProperty(value = "规格")
    private String specification;

    @ApiModelProperty(value = "实退数量")
    private BigDecimal pcsNum;

    @ApiModelProperty(value = "计价单位")
    private String measureUnit;

    @ApiModelProperty(value = "库存单位")
    private String pcsUnit;

    @ApiModelProperty(value = "退料理由")
    private String returnReason;

    @ApiModelProperty(value = "委外商编码")
    private String supplierCode;

    @ApiModelProperty(value = "委外商名称")
    private String supplierName;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "宽度")
    private String width;

    @ApiModelProperty(value = "长度")
    private String longt;

    @ApiModelProperty(value = "厚度")
    private String thickness;

    @ApiModelProperty(value = "重量")
    private String weight;

    @ApiModelProperty(value = "宽度单位")
    private String widthUnit;

    @ApiModelProperty(value = "重量单位")
    private String weightUnit;

    @ApiModelProperty(value = "长度单位")
    private String lengthUnit;

    @ApiModelProperty(value = "厚度单位")
    private String thicknessUnit;

    @ApiModelProperty(value = "组织ID")
    private Long organizationId;

    @ApiModelProperty(value = "批号")
    private String batchNo;


}
